-
Home
-
Super Page Cache
-
5.1.5 (latest)
-
Code
-
Classes
- Rest_Server
| Total Complexity |
123 |
| Dependencies |
15 |
| Dependents |
3 |
| Total lines |
1,320 |
| Lines of code |
930 |
| Logical lines of code |
394 |
| Comment lines |
217 |
| Methods |
26 |
| Properties |
0 |
Methods 26
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| optimizations() |
C |
33 |
24 |
88 |
| register_rest_routes() |
B |
23 |
3 |
346 |
| cloudflare_connect() |
A |
38 |
13 |
69 |
| optimize_database() |
A |
46 |
10 |
40 |
| save_assets_rules() |
A |
49 |
9 |
31 |
| reset_settings() |
A |
43 |
7 |
51 |
| cloudflare_confirm_zone_id() |
A |
47 |
7 |
36 |
| update_settings() |
S |
49 |
6 |
31 |
| start_preloader() |
S |
51 |
5 |
30 |
| toggle_license() |
S |
51 |
5 |
27 |
| enable_page_cache() |
S |
53 |
4 |
25 |
| purge_varnish_cache() |
S |
57 |
4 |
17 |
| import_config() |
S |
60 |
4 |
12 |
| dismiss_notice() |
S |
60 |
4 |
12 |
| cloudflare_repair_rule() |
S |
60 |
3 |
13 |
| purge_cache() |
S |
61 |
2 |
12 |
| clear_logs() |
S |
62 |
2 |
12 |
| test_cache() |
S |
63 |
2 |
11 |
| cloudflare_analytics() |
S |
64 |
2 |
11 |
| cloudflare_disconnect() |
S |
54 |
1 |
22 |
| init() |
S |
79 |
1 |
3 |
| get_cached_pages() |
S |
73 |
1 |
5 |
| get_logs() |
S |
80 |
1 |
3 |
| sanitize_settings() |
S |
72 |
1 |
5 |
| message_response() |
S |
68 |
1 |
8 |
| data_response() |
S |
65 |
1 |
10 |